<%@ page import="gdepot.UserRole" %>


<div class="form-group">
	<label for="role" class="col-lg-2 control-label">角色<span class="required-indicator">*</span></label>
	<g:select id="role" name="role.id" from="${gdepot.Role.list()}" optionKey="id" required="" value="${userRoleInstance?.role?.id}" class="form-control"/>

</div>

<div class="form-group">
	<label for="user" class="col-lg-2 control-label">用户<span class="required-indicator">*</span></label>

	<g:select id="user" name="user.id" from="${gdepot.User.list()}" optionKey="id" required="" value="${userRoleInstance?.user?.id}" class="form-control"/>
</div>

